﻿using System;
using System.Collections.Generic;
using System.Text;
using IDAL.RF.ATETest;
using Model;

namespace BLL.RF.ATETest
{
    public class Test_Active
    {
        private static readonly ITest_Active dal = DALFactory.DataAccess.CreateTest_Active();

        public IList<TestInfo> DebugTest_Active_GetbyProductSN(string productSN)
        {
            return dal.DebugTest_Active_GetbyProductSN(productSN);
        }

        public IList<TestInfo> DebugTest_Active_GetbyDT(DateTime dt1, DateTime dt2)
        {
            return dal.DebugTest_Active_GetbyDT(dt1, dt2);
        }

        //以上为调试有源ATE，以下为检测有源ATE

        public IList<TestInfo> Test_Active_GetbyProductSN(string productSN)
        {
            return dal.Test_Active_GetbyProductSN(productSN);
        }

        public IList<TestInfo> Test_Active_GetbyDT(DateTime dt1, DateTime dt2)
        {
            return dal.Test_Active_GetbyDT(dt1, dt2);
        }
    }
}
